package Text::Pipe::W3CDTF::Format;

use strict;
use warnings;
use DateTime::Format::W3CDTF;


our $VERSION = '0.01';


use base qw(Text::Pipe::W3CDTF);


sub filter_single {
    my ($self, $input) = @_;
    DateTime::Format::W3CDTF->format_datetime($input);
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - Format a DateTime object into a W3CDTF datetime string

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

=head1 METHODS

=over 4

{% p.write_methods %}

=item filter_single

Takes a single L<DateTime> object and returns a W3CDTF datetime string.

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

